gtkapplication: Mark gtk_application_get_active_window() as nullable
authorArun Raghavan <arun@arunraghavan.net>
Thu, 13 Jul 2017 05:55:11 +0000 (11:25 +0530)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 18 Jul 2017 18:03:59 +0000 (14:03 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=784888

gtk/gtkapplication.c

index ff70808584456338dfadd509b2ff7d6fc085ab45..da6712160f1879910f2d83b242dd63ffcf3867a5 100644 (file)
@@ -860,7 +860,8 @@ gtk_application_get_window_by_id (GtkApplication *application,
  * if another application has it — this is just the most
  * recently-focused window within this application.
  *
- * Returns: (transfer none): the active window
+ * Returns: (transfer none) (nullable): the active window, or %NULL if
+ *   there isn't one.
  *
  * Since: 3.6
  **/